package entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * The type Storehouseinout.
 */
public class Storehouseinout extends Common implements Serializable {
    private static final long serialVersionUID = -83115221707920422L;
    @TableId(type = IdType.ID_WORKER_STR)
    private String id;

    @TableField(value = "orderId")
    private String orderId;

    private Integer status;

    @TableField(value = "storehouseId")
    private String storehouseId;

    /**
     * To string string.
     *
     * @return the string
     */
    @Override
    public String toString() {
        return "Storehouseinout{" +
                "id='" + id + '\'' +
                ", orderId='" + orderId + '\'' +
                ", status=" + status +
                ", storehouseId='" + storehouseId + '\'' +
                '}';
    }

    /**
     * Gets id.
     *
     * @return the id
     * @author overlook
     * @date 2022 -04-16 20:32:43
     */
    public String getId() {
        return id;
    }

    /**
     * Sets id.
     *
     * @param id the id
     * @author overlook
     * @date 2022 -04-16 20:32:43
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * Gets order id.
     *
     * @return the order id
     * @author overlook
     * @date 2022 -04-16 20:32:43
     */
    public String getOrderId() {
        return orderId;
    }

    /**
     * Sets order id.
     *
     * @param orderId the order id
     * @author overlook
     * @date 2022 -04-16 20:32:43
     */
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    /**
     * Gets status.
     *
     * @return the status
     * @author overlook
     * @date 2022 -04-16 20:32:43
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * Sets status.
     *
     * @param status the status
     * @author overlook
     * @date 2022 -04-16 20:32:43
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * Gets storehouse id.
     *
     * @return the storehouse id
     * @author overlook
     * @date 2022 -04-16 20:32:43
     */
    public String getStorehouseId() {
        return storehouseId;
    }

    /**
     * Sets storehouse id.
     *
     * @param storehouseId the storehouse id
     * @author overlook
     * @date 2022 -04-16 20:32:43
     */
    public void setStorehouseId(String storehouseId) {
        this.storehouseId = storehouseId;
    }

    /**
     * Instantiates a new Storehouseinout.
     *
     * @param id           the id
     * @param orderId      the order id
     * @param status       the status
     * @param storehouseId the storehouse id
     * @author overlook
     * @date 2022 -04-16 20:32:43
     */
    public Storehouseinout(String id, String orderId, Integer status, String storehouseId) {
        this.id = id;
        this.orderId = orderId;
        this.status = status;
        this.storehouseId = storehouseId;
    }

    /**
     * Instantiates a new Storehouseinout.
     *
     * @author overlook
     * @date 2022 -04-16 20:32:43
     */
    public Storehouseinout() {
    }
}

